package org.lex.net.log;

public abstract class AbstractLog implements Log {
	public abstract Log log(Type type, Object source, Object message);

	public Log send(Object source, Object message) {
		return this.log(Type.SEND, source, message);
	}

	public Log error(Object source, Object message) {
		return this.log(Type.ERROR, source, message);
	}

	public Log misc(Object source, Object message) {
		return this.log(Type.MISC, source, message);
	}

	public Log reply(Object source, Object message) {
		return this.log(Type.REPLY, source, message);
	}
}
